<?php
/* 
 * Author: Quan Van Sinh
 * Email: sinhvnb@vietnambiz.com
 */
function getArticle($id) {
    global $DB;
    $editArticleSql = "SELECT * FROM article WHERE id = ".intval($id);
    $rsArticle = $DB->query_first($editArticleSql);
    return $rsArticle;
}
?>
